"""CrazyEye URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.11/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import url
from django.contrib import admin
from web import views

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^$', views.dashboard, name="index"),
    url(r'^user_audit/$', views.user_audit, name="user_audit"),
    url(r'^audit_log/(\w+-\w+-\w+)/$', views.aduit_log_date, name="aduit_log_date"),
    url(r'^audit_log/(\w+-\w+-\w+)/(\d+)/$', views.audit_log_detail, name="audit_log_detail"),
    url(r'^login/$', views.acc_login),
    url(r'^webssh/$', views.webssh, name="webssh"),
    url(r'^multitask/cmd/$', views.multitask_cmd, name="multitask_cmd"),
    url(r'^multitask/file/$', views.multitask_file, name="multitask_file"),
    url(r'^multitask/file_upload/$', views.file_upload, name="file_upload"),
    url(r'^multitask/$', views.multitask, name="multitask"),
    url(r'^multitask/result/$', views.task_result, name="task_result"),
    url(r'^logout/$', views.acc_logout, name="logout")
]
